package com.showcai.module;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Certificate extends BaseModule {

    private Long batchId;
    private Long productEntityId;

    private String certificateId;
    private Integer balance;
    private Integer price;
    private Date certificateStartDate;
    private Date certificateEndDate;
    private String productEntityName;
    private String productEntityIntroduce;
    private String productEntityIntro;
    private String address;
    private String phone;

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getProductEntityName() {
        return productEntityName;
    }

    public void setProductEntityName(String productEntityName) {
        this.productEntityName = productEntityName;
    }

    public String getProductEntityIntroduce() {
        return productEntityIntroduce;
    }

    public void setProductEntityIntroduce(String productEntityIntroduce) {
        this.productEntityIntroduce = productEntityIntroduce;
    }

    public String getProductEntityIntro() {
        return productEntityIntro;
    }

    public void setProductEntityIntro(String productEntityIntro) {
        this.productEntityIntro = productEntityIntro;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(String certificateId) {
        this.certificateId = certificateId;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCertificateStartDate() {
        return certificateStartDate;
    }

    public void setCertificateStartDate(Date certificateStartDate) {
        this.certificateStartDate = certificateStartDate;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCertificateEndDate() {
        return certificateEndDate;
    }

    public void setCertificateEndDate(Date certificateEndDate) {
        this.certificateEndDate = certificateEndDate;
    }

    public Long getProductEntityId() {
        return productEntityId;
    }

    public void setProductEntityId(Long productEntityId) {
        this.productEntityId = productEntityId;
    }
}